//
//  YWTextFieldCell.h
//  maintain
//
//  Created by 烟雨云渊 on 16/8/9.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <UIKit/UIKit.h>

static NSString *const YWTextFieldCellIdentifier = @"YWTextFieldCellIdentifier";

@protocol YWTextFieldCellDelegate <NSObject>
- (void)passTextFieldContent:(NSString*)content cell:(UITableViewCell*)cell;
@end

@interface YWTextFieldCell : UITableViewCell<UITextFieldDelegate>
@property (nonatomic, weak) id<YWTextFieldCellDelegate> delegate;
@property (nonatomic, copy) NSString *textFieldContent;
@property (nonatomic, assign) BOOL canInput;
@property (nonatomic, copy) NSString *textFieldPlaceholder;
@property (nonatomic, assign) UIKeyboardType textFieldKeyboardType;
@end
